Reads a sequence of elements from the current stream into a target buffer and advances the position within the stream by the number of bytes read.
シンタックス
'宣言
Public Overloads Function ReadRange(Of As {New, Struct})( _
ByVal () As , _
ByVal As System.Integer, _
ByVal As System.Integer _
) As System.Integer
public System.int ReadRange<>(
[] ,
System.int ,
System.int
)
where T: new(), struct
パラメータ
- buffer
- An array of values to be read from the stream.
- offset
- The zero-based byte offset in buffer at which to begin storing the data read from the current stream.
- count
- The number of values to be read from the current stream.
型パラメータ
- T
戻り値の型
The number of bytes read from the stream.
例外
例外 | 解説 |
System.NotSupportedException | This stream does not support reading. |
参照